﻿#region Using Statements
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
#endregion

namespace RhinoXNA
{
    public abstract class IRhinoRenderable : IRhinoGraphicsComponent
    {
        public Vector3 Position { get; set; }
        public Vector3 Rotation { get; set; }
        public Vector3 Scale { get; set; }

        public bool isVisible { get; set; }
        public float Layer { get; set; }

        protected PlayerCamera _cam;
        protected float _aspectRatio;
        protected SpriteBatch _sBatch;

        public IRhinoRenderable(SpriteBatch sBatch, PlayerCamera cam, float aspectRatio)
        {
            _cam = cam;
            _aspectRatio = aspectRatio;
            _sBatch = sBatch;
        }

        #region IRhinoGraphicsComponent Members
        public abstract void Initialize(string fileToLoad);
        public abstract void Update(GameTime gameTime);
        public abstract void Render();
        #endregion

    }
}
